package com.geovis.emergency.spd.entity.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 发送短信请求Req
 * </p>
 *
 * @author linrf
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("发送短信请求Req")
public class SmsSendDetailDto implements Serializable {

    @ApiModelProperty(value = "接收人员手机号")
    @NotNull
    private String to;

    @ApiModelProperty(value = "接收人员名称")
    @NotNull
    private String name;

    @ApiModelProperty(value = "短信参数对象")
    @NotNull
    private SmsSendDetailVarsDto vars;

}
